//
//  LoginViewController.h
//  PartyAnimal
//
//  Created by Hilary Muludiang on 4/1/12.
//  Copyright 2012 Muludiang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LogoutViewController.h"

@class LogoutViewController;

@interface LoginViewController : UIViewController {
	UITextField *emailAddress;
	UITextField	*password;
	UISegmentedControl *newUser;
	UIButton *loginButton;
	LogoutViewController *logoutViewController;

}

@property(nonatomic,retain) IBOutlet UITextField *emailAddress;
@property(nonatomic,retain) IBOutlet UITextField *password;
@property(nonatomic,retain) IBOutlet UISegmentedControl *newUser;
@property(nonatomic,retain) IBOutlet UIButton *loginButton;
@property(nonatomic,retain) LogoutViewController *logoutViewController;

-(IBAction)login:(UIButton *)sender;
-(void)loginUser:(NSString *)withEmail andPassword:(NSString *)passwordString;
-(void)createUser:(NSString *)withEmail andPassword:(NSString *)passwordString;
@end
